home *** CD-ROM | disk | FTP | other *** search
-
- METHODS-ID
- ==========
-
- Local methods, these method id's may be use by classes to define their own
- private methods, special care must be taken when doing so. Delegation of
- these throughout the parents or children can be dangerious, this because
- of BEAST is a dynamic system and therefore it is possible that several
- 'other' objects are inserted. And there could be a conflict because classes
- have the same method id defined for other uses.
- When developers are defining their own classes they can ask for a pre-
- defined 'slot' of methods which they can use. Send a message to
- weertj@IAEhv.nl.
- Developers however are strongly recommended to use the standard BEAST methods.
- In this way the classes have a similiar behaviour.
-
-
- Local methods
- -------------
-
- OBM_local0 .. OBM_local0 + 0x40
- OBM_local1 .. OBM_local1 + 0x700
- OBM_local2 .. OBM_local2 + 0x1000
- OBM_local3 .. OBM_local3 + 0x1000000
-
- The lower the method id number the higher priority it has.
-
-
- BEAST methods
- -------------
-
- Now the general implementation of the BEAST is given, please note that
- this is _only_ the general description. These are the minimum demands
- the method must comply to. Every class can give a different implementation
- to the method as long as the general description is maintained.
-
- Priority high to low.
-
- OBM_INPUT = The general input methods. No special treatment.
- OBM_INPUT2 =
- OBM_INPUT3 =
- OBM_INPUT4 =
- OBM_OUTPUT = The general output methods. No special treatment.
- OBM_OUTPUT2 =
- OBM_OUTPUT3 =
- OBM_OUTPUT4 =
-
- OBM_SYSINPUT = BEAST system input, do not use this method.
- OBM_SYSOUTPUT = BEAST system output, do not use this method.
-
- OBM_IDCMPINPUT = IDCMP input method.
- OBM_IDCMPOUTPUT = IDCMP output method.
- These two methods are used by BeaVis classes.
- OBM_BVSINPUT = BeaVis input method.
- OBM_BVSOUTPUT = BeaVis output method
- These two methods are used by BeaVis classes.
- OBM_BEAMMINPUT = BeaMM input method.
- OBM_BEAMMOUTPUT = BeaMM output method.
- These two methods are used by BeaMM classes.
- OBM_BFSINPUT = BFS input method.
- OBM_BFSOUTPUT = BFS output method.
- These two methods are used by BFS classes.
-
- OBM_INIT = General init method.
- TagList requirements equals the OBM_SETATTR method.
- OBM_DISPOSE = General dispose method.
- OBM_SETATTR = General method to set instance fields.
-
- OBM_GETATTR = General method to get instance fields.
-
-
- MethodFlags
- ===========
- MethodFlags are the 'controls' of the methods.
-
- MTH_DOPARENTS = Delegate method through the parent objects.
- The method is also triggered at the parent objects
- this will continue until one method routine resets
- this flags.
- MTH_DOCHILDREN = Delegate method through childern bottom up.
- The method is first triggered at the 'lowest'
- object in the tree, those with no children.
- MTH_PASSTOCHILD = Delegate method through children top down.
- Now the method is triggered first at the childern.
- A method can reset this flag to prevent it's children
- being called.
- MTH_ERROR = There has been occured an error, but it is not
- fatal. If the object has the OBM_ERROR method
- implemented this can be used to find out what went
- wrong.
- MTH_FATALERROR = There has occured a fatal error. Mostly this means
- that the object is instable.
- MTH_BREAK = Don't execute the method, this flag is mostly used by
- superclasses. (Method overriding).
-
- MTH_B52_bits = The mask of the bits which are defined by B52.
-
-